package com.ruoyi.pc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 温度记录对象 lb_temperature
 * 
 * @author ruoyi
 * @date 2020-06-21
 */
public class LbTemperature extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 微信用户id */
    @Excel(name = "微信用户id")
    private Long wxuserId;

    /** 微信openid */
    @Excel(name = "微信openid")
    private String wxuserOpenid;

    /** 微信名 */
    @Excel(name = "微信名")
    private String wxuserName;

    /** 设备id */
    @Excel(name = "设备id")
    private String deviceId;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String deviceCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 公司id */
    @Excel(name = "公司id")
    private String companyId;

    /** 公司编码 */
    @Excel(name = "公司编码")
    private String companyCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 温度 */
    @Excel(name = "温度")
    private Integer temperature;

    /** 湿度 */
    @Excel(name = "湿度")
    private Integer humidity;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 修改时间 */
    @Excel(name = "修改时间")
    private String modifyTime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifyUser;

    /** 时间戳 */
    @Excel(name = "时间戳")
    private String ts;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Integer dr;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWxuserId(Long wxuserId) 
    {
        this.wxuserId = wxuserId;
    }

    public Long getWxuserId() 
    {
        return wxuserId;
    }
    public void setWxuserOpenid(String wxuserOpenid) 
    {
        this.wxuserOpenid = wxuserOpenid;
    }

    public String getWxuserOpenid() 
    {
        return wxuserOpenid;
    }
    public void setWxuserName(String wxuserName) 
    {
        this.wxuserName = wxuserName;
    }

    public String getWxuserName() 
    {
        return wxuserName;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setCompanyId(String companyId) 
    {
        this.companyId = companyId;
    }

    public String getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyCode(String companyCode) 
    {
        this.companyCode = companyCode;
    }

    public String getCompanyCode() 
    {
        return companyCode;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setTemperature(Integer temperature) 
    {
        this.temperature = temperature;
    }

    public Integer getTemperature() 
    {
        return temperature;
    }
    public void setHumidity(Integer humidity) 
    {
        this.humidity = humidity;
    }

    public Integer getHumidity() 
    {
        return humidity;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setModifyTime(String modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public String getModifyTime() 
    {
        return modifyTime;
    }
    public void setModifyUser(String modifyUser) 
    {
        this.modifyUser = modifyUser;
    }

    public String getModifyUser() 
    {
        return modifyUser;
    }
    public void setTs(String ts) 
    {
        this.ts = ts;
    }

    public String getTs() 
    {
        return ts;
    }
    public void setDr(Integer dr) 
    {
        this.dr = dr;
    }

    public Integer getDr() 
    {
        return dr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wxuserId", getWxuserId())
            .append("wxuserOpenid", getWxuserOpenid())
            .append("wxuserName", getWxuserName())
            .append("deviceId", getDeviceId())
            .append("deviceCode", getDeviceCode())
            .append("deviceName", getDeviceName())
            .append("companyId", getCompanyId())
            .append("companyCode", getCompanyCode())
            .append("companyName", getCompanyName())
            .append("temperature", getTemperature())
            .append("humidity", getHumidity())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("modifyTime", getModifyTime())
            .append("modifyUser", getModifyUser())
            .append("ts", getTs())
            .append("dr", getDr())
            .toString();
    }
}
